
package com.oahc.magicdefender;

import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL10;
import com.oahc.magicdefender.screen.StartScreen;

public class MainGame extends Game {

    @Override
    public void create() {
        setScreen(new StartScreen(this));
    }

    @Override
    public void render() {
        // 清屏
        Gdx.gl.glClear(GL10.GL_COLOR_BUFFER_BIT);
        super.render();
    }

}
